package com.ruanjian.api.mapper;

import com.ruanjian.api.bean.ExperimentStage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExperimentStageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExperimentStage record);

    int insertSelective(ExperimentStage record);

    ExperimentStage selectByPrimaryKey(Long id);

    List<ExperimentStage> listExperimentStageByUserId(Long userId);

    int updateByPrimaryKeySelective(ExperimentStage record);

    int updateSelective(ExperimentStage stage);

    int updateByPrimaryKey(ExperimentStage record);
}